import { Component, OnInit } from '@angular/core';
import {DomSanitizer} from '@angular/platform-browser';

@Component({
  selector: 'app-blog',
  templateUrl: './blog.component.html',
  styleUrls: ['./blog.component.css']
})
export class BlogComponent implements OnInit {
  public orbitUrl;
  constructor(private sanitizer: DomSanitizer) {
    this.orbitUrl = this.sanitizer.bypassSecurityTrustResourceUrl('http://www.canyuegongzi.xyz/hexo');
  }

  ngOnInit() {
  }

}
